{% load static %}
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>查询主页</title>
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <!-- Bootstrap 核心CSS文件 -->
    <link href="{% static 'login/css/bootstrap.min.css' %}" rel="stylesheet">
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="justified-nav.css" rel="stylesheet">
    <style type="text/css">
      body{
        background: url("{% static 'login/image/3453.jpg' %}");
        background-size: cover;
        background-color: white;
        color: #337ab7;
        }
        /*.form-signin{background: rgba(255,255,255,0);width:320px;margin:120px auto;}*/
        /*阴影*/
        .fa{display: inline-block;top: 27px;left: 6px;position: relative;color: #ccc;}
        input[type="text"],input[type="password"]{padding-left:26px;}
        #checkbox{padding-left:21px;}
        
        .form-signin-heading{
            text-align: center;
            color: #337ab7;
        }
        .tabbable{
            background: rgba(255,255,255,0.7);
        }
        .one{
            width: 100%;
            height: 450px;
            line-height: 450px;
        }
        .footer{
            
            position: fixed;
            left: 460px;
            bottom: 6px;
            background: rgba(255,255,255,0.7);
        }
        .footer .foot{
            margin: 0 auto;
        }
        .btn{
            width: 120px;
            height: 100px;
            margin-left: 96px;
        }
  </style>

</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-md-2">
            </div> 
            <div class="col-md-8 tabbable" id="tabs-142121">
                <div class="masthead">
                    <h2 class="form-signin-heading">人脸查询系统</h2>
                </div> 
                <div class="tabbable one" id="tabs-142726">
                    {%if chaxun%}
                    <a href="{% url 'face:demand_face' %}"><button type="button" class="btn btn-primary btn-lg">先去拍照</button></a>
                    <a href="{% url 'login:login' %}"><button type="button" class="btn btn-success btn-lg">返回登录</button></a>
                    {%endif%}
                    {%if ok%}
                    <a href="{% url 'face:face_detect' %}"><button type="button" class="btn btn-primary btn-lg">查看颜值</button></a>
                    <a href="{% url 'face:face_info' %}"><button type="button" class="btn btn-info btn-lg">查看信息</button></a>
                    <a href="{% url 'login:login' %}"><button type="button" class="btn btn-success btn-lg">返回登录</button></a>
                    {%endif%}
                    {%if yanzhi%}
                    <h3 style="color: #337ab7;">您的颜值评分：{{yanzhi}}</br></br></br>您的年龄大致为：{{age}}岁</h3>
                    {%endif%}
                    {%if zhiye%}
                    <h3 style="color: #337ab7;">您的职业：{{zhiye}}</br></br>您的姓名：{{name}}</br></br>您注册时的照片:<img src='{{photo.image}}' value='照片故障'></h3>
                    {%endif%}
                </div>
            </div>
            <div class="col-md-2">
            </div> 
        </div>
        <footer class="footer">
        <p class="foot">&copy; 2018 北京网络职业学院考试系统Company, Inc.</p>
        </footer>
    </div>
<script type="text/javascript" src="{% static 'login/js/jquery-3.3.1.min.js' %}"></script>
<!-- Bootstrap部分： -->
<script type="text/javascript" src="{% static 'login/js/bootstrap.min.js' %}"></script>
</body>
</html>